package com.hsnn.medstgmini.trading.pur.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * @category 订单明细表实体类
 * @author 韩守松
 * @date 2015年11月25日
 */
@Entity
@Table(name = "pur_orderinfo")
public class PurOrderInfo implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="order_code")
	private String orderCode;// 订单编号
	
	@Column(name="order_pack_id")
	private String orderPackId;// 订单包号
	
	@Column(name="pro_count")
	private Integer proCount;// 采购数量
	
	@Column(name="del_count")
	private Integer delCount;// 已配送数量
	
	@Column(name="pro_price")
	private Double proPrice;// 采购价
	
	@Column(name="join_plan_time")
	private Date joinPlanTime;// 加入计划时间
	
	@Column(name="join_plan_user")
	private String joinPlanUser;// 加入计划人
	
	@Column(name="order_status")
	private Integer orderStatus;// 订单状态1提交2确认3无法配送
	
	@Column(name="confirm_remark")
	private String confirmRemark; // 无法配送原因
	
	@Column(name="goods_code")
	private String goodsCode;// 商品编码
	
	@Column(name="area_id")
	private String areaId;// 商品地区编码
	
	@Column(name="area_name")
	private String areaName;// 商品地区名称
	
	@Column(name="ar_shortname")
	private String arShortname;//商品地区简称
	
	@Column(name="ar_fullname")
	private String arFullname;//商品地区完整名称
	
	@Column(name="proj_id")
	private String projId;//所属项目
	
	@Column(name="proj_name")
	private String projName;//项目名称 
	
	@Column(name="proj_starttime")
	private Date projStarttime;//采购开始时间	
	
	@Column(name="proj_endtime")
	private Date projEndtime;//采购结束时间	
	
	@Column(name="proj_status")
	private Integer projStatus;//项目状态0停用1启用	
	
	@Column(name="qualityspec_id")
	private String qualityspecId;//品规ID	
	
	@Column(name="drug_code")
	private String drugCode;//药品编码	
	
	@Column(name="qualityspec_name")
	private String qualityspecName;//通用名	
	
	@Column(name="qualityspec_name_spel")
	private String qualityspecNameSpel;//通用名拼音码
	
	@Column(name="qualityspec_name_eng")
	private String qualityspecNameEng;//通用名英文	
	
	@Column(name="form_name")
	private String formName;//剂型	
	
	@Column(name="spec_name")
	private String specName;//规格
	
	@Column(name="qualityspec_status")
	private Integer qualityspecStatus;//品规状态	
	
	@Column(name="bus_name")
	private String busName;//商用名	
	
	@Column(name="factor")
	private Integer factor;//装换系数	
	
	@Column(name="unit_name")
	private String unitName;//包装单位	
	
	@Column(name="material_name")
	private String materialName;//材质	
	
	@Column(name="drug_medicine")
	private String drugMedicine;//国药准字
	
	public String getDrugMedicine() {
		return drugMedicine;
	}

	public void setDrugMedicine(String drugMedicine) {
		this.drugMedicine = drugMedicine;
	}

	@Column(name="prod_compcode")
	private String prodCompcode;//生产企业编码	
	
	@Column(name="prod_compname")
	private String prodCompname;//生产企业名称
	
	@Column(name="prod_compname_spel")
	private String prodCompnameSpel;//生产企业名称拼音码
	
	@Column(name="prod_compstatus")
	private Integer prodCompstatus;//生产企业状态	
	
	@Column(name="cat_comp_code")
	private String catCompCode;//投标企业编码	
	
	@Column(name="cat_comp_name")
	private String catCompName;//投标企业名称	
	
	@Column(name="cat_comp_name_spel")
	private String catCompNameSpel;//投标企业拼音码
	
	@Column(name="cat_comp_status")
	private Integer catCompStatus;//投标企业状态	
	
	@Column(name="use_range")
	private Integer useRange;//使用范围1县及县以上用药2基层用药
	
	@Column(name="drug_attr")
	private Integer drugAttr;//基本药物属性1.基本药物2非基本药物	
	
	@Column(name="goods_source")
	private Integer goodsSource;//商品来源1.招标采购2定点生产3挂网直采4议价采购5备案采购	
	
	@Column(name="pattern_type")
	private Integer patternType;//专利类型	
	
	@Column(name="is_healthcare")
	private Integer isHealthcare;//是否医保0否1是9未知	
	
	@Column(name="is_agriculture")
	private Integer isAgriculture;//是否新农合0否1是9未知	
	
	@Column(name="is_lowprice")
	private Integer isLowprice;//是否低价药0否1是9未知	
	
	@Column(name="is_smallprice")
	private Integer isSmallprice;//是否廉价药0否1是9未知	
	
	@Column(name="is_smallsource")
	private Integer isSmallsource;//是否供应紧张药品0否1是9未知
	
	@Column(name="is_longtime_plan")
	private Integer isLongtimePlan;//备案类型0临时备案1长期备案
	
	@Column(name="drug_status")
	private Integer drugStatus;//药品状态0停用1启用	
	
	@Column(name="drug_cat")
	private Integer drugCat;//药品分类1化学及生物制药2中成药3中药饮片	
	
	@Column(name="pro_price_limit")
	private Double proPriceLimit;//采购限价	
	
	@Column(name="retail_price_limit")
	private Double retailPriceLimit;//最高零售限价
	
	@Column(name="hang_price")
	private Double hangPrice;//挂牌价	
	
	@Column(name="ref_price")
	private Double refPrice;//参考价	
	
	@Column(name="healthcare_price")
	private Double healthcarePrice;//医保支付价	
	
	@Column(name="pic_url")
	private String picUrl;//商品图片地址	
	
	@Column(name="pic_short_url")
	private String picShortUrl;//商品图片缩略图地址	
	
	@Column(name="status")
	private Integer status;//商品状态0停用1启用	

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getOrderPackId() {
		return orderPackId;
	}

	public void setOrderPackId(String orderPackId) {
		this.orderPackId = orderPackId;
	}

	public Integer getProCount() {
		return proCount;
	}

	public void setProCount(Integer proCount) {
		this.proCount = proCount;
	}

	public Integer getDelCount() {
		return delCount;
	}

	public void setDelCount(Integer delCount) {
		this.delCount = delCount;
	}

	public Double getProPrice() {
		return proPrice;
	}

	public void setProPrice(Double proPrice) {
		this.proPrice = proPrice;
	}

	public Date getJoinPlanTime() {
		return joinPlanTime;
	}

	public void setJoinPlanTime(Date joinPlanTime) {
		this.joinPlanTime = joinPlanTime;
	}

	public String getJoinPlanUser() {
		return joinPlanUser;
	}

	public void setJoinPlanUser(String joinPlanUser) {
		this.joinPlanUser = joinPlanUser;
	}

	

	public String getConfirmRemark() {
		return confirmRemark;
	}

	public void setConfirmRemark(String confirmRemark) {
		this.confirmRemark = confirmRemark;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getArShortname() {
		return arShortname;
	}

	public void setArShortname(String arShortname) {
		this.arShortname = arShortname;
	}

	public String getArFullname() {
		return arFullname;
	}

	public void setArFullname(String arFullname) {
		this.arFullname = arFullname;
	}

	public String getProjId() {
		return projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	public String getProjName() {
		return projName;
	}

	public void setProjName(String projName) {
		this.projName = projName;
	}

	public Date getProjStarttime() {
		return projStarttime;
	}

	public void setProjStarttime(Date projStarttime) {
		this.projStarttime = projStarttime;
	}

	public Date getProjEndtime() {
		return projEndtime;
	}

	public void setProjEndtime(Date projEndtime) {
		this.projEndtime = projEndtime;
	}

	public Integer getProjStatus() {
		return projStatus;
	}

	public void setProjStatus(Integer projStatus) {
		this.projStatus = projStatus;
	}

	public String getQualityspecId() {
		return qualityspecId;
	}

	public void setQualityspecId(String qualityspecId) {
		this.qualityspecId = qualityspecId;
	}

	public String getDrugCode() {
		return drugCode;
	}

	public void setDrugCode(String drugCode) {
		this.drugCode = drugCode;
	}

	public String getQualityspecName() {
		return qualityspecName;
	}

	public void setQualityspecName(String qualityspecName) {
		this.qualityspecName = qualityspecName;
	}

	public String getQualityspecNameSpel() {
		return qualityspecNameSpel;
	}

	public void setQualityspecNameSpel(String qualityspecNameSpel) {
		this.qualityspecNameSpel = qualityspecNameSpel;
	}

	public String getQualityspecNameEng() {
		return qualityspecNameEng;
	}

	public void setQualityspecNameEng(String qualityspecNameEng) {
		this.qualityspecNameEng = qualityspecNameEng;
	}

	public String getFormName() {
		return formName;
	}

	public void setFormName(String formName) {
		this.formName = formName;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}


	public String getBusName() {
		return busName;
	}

	public void setBusName(String busName) {
		this.busName = busName;
	}


	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getMaterialName() {
		return materialName;
	}

	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}

	public String getProdCompcode() {
		return prodCompcode;
	}

	public void setProdCompcode(String prodCompcode) {
		this.prodCompcode = prodCompcode;
	}

	public String getProdCompname() {
		return prodCompname;
	}

	public void setProdCompname(String prodCompname) {
		this.prodCompname = prodCompname;
	}

	public String getProdCompnameSpel() {
		return prodCompnameSpel;
	}

	public void setProdCompnameSpel(String prodCompnameSpel) {
		this.prodCompnameSpel = prodCompnameSpel;
	}


	public String getCatCompCode() {
		return catCompCode;
	}

	public void setCatCompCode(String catCompCode) {
		this.catCompCode = catCompCode;
	}

	public String getCatCompName() {
		return catCompName;
	}

	public void setCatCompName(String catCompName) {
		this.catCompName = catCompName;
	}

	public String getCatCompNameSpel() {
		return catCompNameSpel;
	}

	public void setCatCompNameSpel(String catCompNameSpel) {
		this.catCompNameSpel = catCompNameSpel;
	}


	public Integer getPatternType() {
		return patternType;
	}

	public void setPatternType(Integer patternType) {
		this.patternType = patternType;
	}

	public Integer getIsHealthcare() {
		return isHealthcare;
	}

	public void setIsHealthcare(Integer isHealthcare) {
		this.isHealthcare = isHealthcare;
	}

	public Integer getIsAgriculture() {
		return isAgriculture;
	}

	public void setIsAgriculture(Integer isAgriculture) {
		this.isAgriculture = isAgriculture;
	}

	public Integer getIsLowprice() {
		return isLowprice;
	}

	public void setIsLowprice(Integer isLowprice) {
		this.isLowprice = isLowprice;
	}

	public Integer getIsSmallprice() {
		return isSmallprice;
	}

	public void setIsSmallprice(Integer isSmallprice) {
		this.isSmallprice = isSmallprice;
	}

	public Integer getIsSmallsource() {
		return isSmallsource;
	}

	public void setIsSmallsource(Integer isSmallsource) {
		this.isSmallsource = isSmallsource;
	}

	public Integer getIsLongtimePlan() {
		return isLongtimePlan;
	}

	public void setIsLongtimePlan(Integer isLongtimePlan) {
		this.isLongtimePlan = isLongtimePlan;
	}

	public Integer getDrugStatus() {
		return drugStatus;
	}

	public void setDrugStatus(Integer drugStatus) {
		this.drugStatus = drugStatus;
	}

	public Integer getDrugCat() {
		return drugCat;
	}

	public void setDrugCat(Integer drugCat) {
		this.drugCat = drugCat;
	}

	public Double getProPriceLimit() {
		return proPriceLimit;
	}

	public void setProPriceLimit(Double proPriceLimit) {
		this.proPriceLimit = proPriceLimit;
	}

	public Double getRetailPriceLimit() {
		return retailPriceLimit;
	}

	public void setRetailPriceLimit(Double retailPriceLimit) {
		this.retailPriceLimit = retailPriceLimit;
	}

	public Double getHangPrice() {
		return hangPrice;
	}

	public void setHangPrice(Double hangPrice) {
		this.hangPrice = hangPrice;
	}

	public Double getRefPrice() {
		return refPrice;
	}

	public void setRefPrice(Double refPrice) {
		this.refPrice = refPrice;
	}

	public Double getHealthcarePrice() {
		return healthcarePrice;
	}

	public void setHealthcarePrice(Double healthcarePrice) {
		this.healthcarePrice = healthcarePrice;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getPicShortUrl() {
		return picShortUrl;
	}

	public void setPicShortUrl(String picShortUrl) {
		this.picShortUrl = picShortUrl;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getQualityspecStatus() {
		return qualityspecStatus;
	}

	public void setQualityspecStatus(Integer qualityspecStatus) {
		this.qualityspecStatus = qualityspecStatus;
	}

	public Integer getFactor() {
		return factor;
	}

	public void setFactor(Integer factor) {
		this.factor = factor;
	}

	public Integer getProdCompstatus() {
		return prodCompstatus;
	}

	public void setProdCompstatus(Integer prodCompstatus) {
		this.prodCompstatus = prodCompstatus;
	}

	public Integer getCatCompStatus() {
		return catCompStatus;
	}

	public void setCatCompStatus(Integer catCompStatus) {
		this.catCompStatus = catCompStatus;
	}

	public Integer getUseRange() {
		return useRange;
	}

	public void setUseRange(Integer useRange) {
		this.useRange = useRange;
	}

	public Integer getDrugAttr() {
		return drugAttr;
	}

	public void setDrugAttr(Integer drugAttr) {
		this.drugAttr = drugAttr;
	}

	public Integer getGoodsSource() {
		return goodsSource;
	}

	public void setGoodsSource(Integer goodsSource) {
		this.goodsSource = goodsSource;
	}




}
